<!DOCTYPE html>
<html >
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>jQuery</title>
</head>
<body>
    
</body>
<script src="../lib/jquery.min.js"></script>
<script>
    //1.需要再网页加载完成之后再去使用jquery
    // $(document).ready(function(){
       
    // });
    // 简化写法
    $(function(){
        alert('xx');

    });


</script>
</html>